/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package entity.support;

/**
 *
 * @author dell
 */
import java.io.Serializable;
public abstract class Log implements Serializable
{
public static class Value
{
//columns_______________________________________________________________________
private String event;
private String relate;
private String result;
private String remark;
//functions_____________________________________________________________________
     //getter___________________________________________________________________
public String getEvent() 
{
     return event;
}
public String getRelate() 
{
     return relate;
}
public String getResult() 
{
     return result;
}
public String getRemark() 
{
     return remark;
}
     //setter___________________________________________________________________
public void setEvent(String event) 
{
     this.event = event;
}
public void setRelate(String relate) 
{
     this.relate = relate;
}
public void setResult(String result) 
{
     this.result = result;
}
public void setRemark(String remark) 
{
     this.remark = remark;
}
     //toString_________________________________________________________________
@Override
public String toString()
{
     return event+"\t"+relate+"\t"+result+"\t"+remark;
}
}
//columns_______________________________________________________________________
protected String key;
protected Value value;
//functions_____________________________________________________________________
     //getter___________________________________________________________________
public String getKey() 
{
     return key;
}
public Value getValue() 
{
     return value;
}
     //setter___________________________________________________________________
public void setKey(String key) 
{
     this.key = key;
}
public void setValue(Value value) 
{
     this.value = value;
}
     //toString_________________________________________________________________
@Override
public String toString()
{
     return key+"\t"+value;
}
}
